
































  
  


  

  
  	
  

  

	
	

	
	
	
	
	




  
















	
	
	
	
	
	
	
	
	
	
  
  


	


	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	




    
  






  
    
  




	
	
	
	
	



<!--NewPage-->
<HTML>

<!-- Mirrored from delerium:8503/cfcdoc/content.cfm?file=C%3A%5CInetpub%5Cwwwroot%5Ctransfer%2Droot%5Ctransfer%5Ccom%5Ccollections%5CAbstractBaseSemiSoftRefObjectPool%2Ecfc by HTTrack Website Copier/3.x [XR&CO'2006], Sat, 07 Apr 2007 03:16:32 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><!-- /Added by HTTrack -->
<HEAD>

<!-- Generated by CFDoc on 07-Apr-2007 01:16 PM -->

<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<BODY>


	



<HR>
<!-- ======== START OF CLASS DATA ======== -->

<div style="float:left;">

<a href="default.html" style="float: right;">Documentation home page</a>
</div>
<H2>
<span style="font-size: smaller">
<a href="componentse036.html" target="components">transfer.com.collections</a>
</span>
<BR>
Component AbstractBaseSemiSoftRefObjectPool</H2>


<PRE>
<B>transfer.com.collections.AbstractBaseSemiSoftRefObjectPool</B>
</PRE>


<HR>
A object pool that maintains two collections, one hard reference, one soft reference


<HR>

<P>


<!-- ========== PROPERTY SUMMARY =========== -->

<A NAME="property_summary"><!-- --></A>






<!-- ========== METHOD SUMMARY =========== -->




<A NAME="method_summary"><!-- --></A>

<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">

<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>











	





	





	





	





	





	





	





	





	





	





	





	





	





	





	



	<TR BGCOLOR="eeeeff" CLASS="TableRowColorConstructor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#init()">init</A></B>(<a href="nativetypes.html#detail_numeric">numeric</a> hardReferenceAmount)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor
	</TD>
	</TR>
	

	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_any" target="_self">any</a></CODE></TD>
	<TD><CODE><B><A HREF="#getHardQueue()">getHardQueue</A></B>()</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;org.apache.commons.collections.UnboundedFifoBuffer
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_numeric" target="_self">numeric</a></CODE></TD>
	<TD><CODE><B><A HREF="#getHardReferenceAmount()">getHardReferenceAmount</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="content8f4f.html" target="_self">component</a></CODE></TD>
	<TD><CODE><B><A HREF="#getNewObject()">getNewObject</A></B>()</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;virtual method: returns the new CFC to repopulate the pool
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_any" target="_self">any</a></CODE></TD>
	<TD><CODE><B><A HREF="#getReferenceQueue()">getReferenceQueue</A></B>()</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;java.lang.ref.ReferenceQueue
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_any" target="_self">any</a></CODE></TD>
	<TD><CODE><B><A HREF="#getSoftQueue()">getSoftQueue</A></B>()</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;org.apache.commons.collections.UnboundedFifoBuffer
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="content8f4f.html" target="_self">component</a></CODE></TD>
	<TD><CODE><B><A HREF="#pop()">pop</A></B>()</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pops an objects outta the queue
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="nativetypes.html#detail_any" target="_self">any</a></CODE></TD>
	<TD><CODE><B><A HREF="#popSoftQueue()">popSoftQueue</A></B>()</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pops an object off the soft queue if one exists, otherwise returns 'false'
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#push()">push</A></B>(<a href="content8f4f.html">component</a> object)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Pushes an object onto the queue
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#reap()">reap</A></B>()</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;reaps the collected objects out of the pool
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#refill()">refill</A></B>()</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;refill the hard cache
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setHardQueue()">setHardQueue</A></B>(<a href="nativetypes.html#detail_any">any</a> HardQueue)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setHardReferenceAmount()">setHardReferenceAmount</A></B>(<a href="nativetypes.html#detail_numeric">numeric</a> hardReferenceAmount)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setReferenceQueue()">setReferenceQueue</A></B>(<a href="nativetypes.html#detail_any">any</a> ReferenceQueue)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setSoftQueue()">setSoftQueue</A></B>(<a href="nativetypes.html#detail_any">any</a> SoftQueue)</CODE>
	
	
	</TD>
	</TR>
	
</TABLE>



&nbsp;
<P>



<!-- ============ METHOD DETAIL ========== -->


<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>












<A NAME="getHardQueue()"><!-- --></A><H3>
getHardQueue</H3>

<PRE>
private <A HREF="nativetypes.html#detail_any" title="">any</A> <B>getHardQueue</B>()</PRE>
<DL>
  <DD>
  	
  	
		org.apache.commons.collections.UnboundedFifoBuffer
	    <P>
	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getHardReferenceAmount()"><!-- --></A><H3>
getHardReferenceAmount</H3>

<PRE>
private <A HREF="nativetypes.html#detail_numeric" title="">numeric</A> <B>getHardReferenceAmount</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getNewObject()"><!-- --></A><H3>
getNewObject</H3>

<PRE>
private <A HREF="content8f4f.html" title="">web-inf.cftags.component</A> <B>getNewObject</B>()</PRE>
<DL>
  <DD>
  	
  	
		virtual method: returns the new CFC to repopulate the pool
	    <P>
	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getReferenceQueue()"><!-- --></A><H3>
getReferenceQueue</H3>

<PRE>
private <A HREF="nativetypes.html#detail_any" title="">any</A> <B>getReferenceQueue</B>()</PRE>
<DL>
  <DD>
  	
  	
		java.lang.ref.ReferenceQueue
	    <P>
	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getSoftQueue()"><!-- --></A><H3>
getSoftQueue</H3>

<PRE>
private <A HREF="nativetypes.html#detail_any" title="">any</A> <B>getSoftQueue</B>()</PRE>
<DL>
  <DD>
  	
  	
		org.apache.commons.collections.UnboundedFifoBuffer
	    <P>
	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="init()"><!-- --></A><H3>
init</H3>

<PRE>
public <A HREF="nativetypes.html#detail_void" title="">void</A> <B>init</B>(<a href="nativetypes.html#detail_numeric">numeric</a> hardReferenceAmount)</PRE>
<DL>
  <DD>
  	
  	
		Constructor
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_numeric">numeric</a> hardReferenceAmount</code> - The amount of hard references to keep</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="pop()"><!-- --></A><H3>
pop</H3>

<PRE>
public <A HREF="content8f4f.html" title="">web-inf.cftags.component</A> <B>pop</B>()</PRE>
<DL>
  <DD>
  	
  	
		pops an objects outta the queue
	    <P>
	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="popSoftQueue()"><!-- --></A><H3>
popSoftQueue</H3>

<PRE>
public <A HREF="nativetypes.html#detail_any" title="">any</A> <B>popSoftQueue</B>()</PRE>
<DL>
  <DD>
  	
  	
		pops an object off the soft queue if one exists, otherwise returns 'false'
	    <P>
	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="push()"><!-- --></A><H3>
push</H3>

<PRE>
public <A HREF="nativetypes.html#detail_void" title="">void</A> <B>push</B>(<a href="content8f4f.html">component</a> object)</PRE>
<DL>
  <DD>
  	
  	
		Pushes an object onto the queue
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content8f4f.html">component</a> object</code> - the object to push on</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="reap()"><!-- --></A><H3>
reap</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>reap</B>()</PRE>
<DL>
  <DD>
  	
  	
		reaps the collected objects out of the pool
	    <P>
	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="refill()"><!-- --></A><H3>
refill</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>refill</B>()</PRE>
<DL>
  <DD>
  	
  	
		refill the hard cache
	    <P>
	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setHardQueue()"><!-- --></A><H3>
setHardQueue</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setHardQueue</B>(<a href="nativetypes.html#detail_any">any</a> HardQueue)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_any">any</a> HardQueue</code> - org.apache.commons.collections.UnboundedFifoBuffer</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setHardReferenceAmount()"><!-- --></A><H3>
setHardReferenceAmount</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setHardReferenceAmount</B>(<a href="nativetypes.html#detail_numeric">numeric</a> hardReferenceAmount)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_numeric">numeric</a> hardReferenceAmount</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setReferenceQueue()"><!-- --></A><H3>
setReferenceQueue</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setReferenceQueue</B>(<a href="nativetypes.html#detail_any">any</a> ReferenceQueue)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_any">any</a> ReferenceQueue</code> - java.lang.ref.ReferenceQueue</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setSoftQueue()"><!-- --></A><H3>
setSoftQueue</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setSoftQueue</B>(<a href="nativetypes.html#detail_any">any</a> SoftQueue)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_any">any</a> SoftQueue</code> - org.apache.commons.collections.UnboundedFifoBuffer</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>







</BODY>

<!-- Mirrored from delerium:8503/cfcdoc/content.cfm?file=C%3A%5CInetpub%5Cwwwroot%5Ctransfer%2Droot%5Ctransfer%5Ccom%5Ccollections%5CAbstractBaseSemiSoftRefObjectPool%2Ecfc by HTTrack Website Copier/3.x [XR&CO'2006], Sat, 07 Apr 2007 03:16:32 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><!-- /Added by HTTrack -->
</HTML>